package com.yifeng.repo.controller.excel.loader.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Map;

/**
 * Created by daibing on 2023/1/5.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class RowResultDto extends RowDataDto {
    private boolean success;
    private String message;

    public RowResultDto(int rowNumber, Map<String, String> data, boolean success, String message) {
        super(rowNumber, data);
        this.success = success;
        this.message = message;
    }
}
